<template>
  <header>
    {{ title }}
    <slot></slot>
  </header>
</template>

<script>
export default {
  // props: ["title"]
  props: {
    title: {
      type: String,
      default: "猫眼电影",
    },
  },
};
</script>

<style scoped lang="less">
// @import url("../../../../assets/css/var.less");

header {
  width: 100%;
  height: 50px;
  background-color: @theme-color;
  color: #fff;
  .center();
  font-size: @l-font;
  position: relative;
}
</style>
